package com.fenghuajueli.idiomppp.db;

import androidx.room.Dao;
import androidx.room.Query;

import java.util.List;

@Dao
public interface CaimiDao {
    @Query("SELECT * FROM caimi")
    List<Caimi> loadAllData();

    @Query("SELECT * FROM caimi WHERE Caimi.title = :title")
    List<Caimi> loadDataByTitle(String title);
}
